#include "stm8s.h"
#include "stm8s_tim1.h"
#include "stm8s_tim2.h" 
#include "stm8s_tim4.h"
void TIM1_Config(void);
void TIM2_Config(void);
void Delay(__IO uint32_t nTime);
void TimingDelay_Decrement(void);
void TIM4_Config(void);
#define TIM4_PERIOD       124